From: Chong Yidong Date: Sun, 15 May 2011 13:47:56 +0000 (-0400) Subject: Bind = to diff command in vc-annotate mode (Bug#8671) X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~3806 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8bce5fa7b3614ee064467f3cccd20a5e9638eb40;p=emacs.git Bind = to diff command in vc-annotate mode (Bug#8671) * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Bind = to vc-annotate-show-diff-revision-at-line. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8f532e713d6..ecfe2fa6da7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-05-15 Chong Yidong + + * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to + vc-annotate-show-diff-revision-at-line (Bug#8671). + 2011-05-14 Glenn Morris * vc/add-log.el (add-change-log-entry): Don't start adding a new entry diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el index abd3806d02f..b6ecc4c1d75 100644 --- a/lisp/vc/vc-annotate.el +++ b/lisp/vc/vc-annotate.el @@ -120,6 +120,7 @@ List of factors, used to expand/compress the time scale. See `vc-annotate'." (let ((m (make-sparse-keymap))) (define-key m "a" 'vc-annotate-revision-previous-to-line) (define-key m "d" 'vc-annotate-show-diff-revision-at-line) + (define-key m "=" 'vc-annotate-show-diff-revision-at-line) (define-key m "D" 'vc-annotate-show-changeset-diff-revision-at-line) (define-key m "f" 'vc-annotate-find-revision-at-line) (define-key m "j" 'vc-annotate-revision-at-line)